package eng.jTrussSolver.AssemblerResults;


public class RodDisplacementData {
	
	public int RodID;
	public int NodeStart;
	public int NodeEnd;
	
	public RodDisplacementData() {
		
		this.RodID = 0;
		this.NodeStart = 0;
		this.NodeEnd = 0;
	}
	
	public RodDisplacementData (int RodID,int NodeStart,int NodeEnd) {
		
		this.RodID = RodID;
		this.NodeStart = NodeStart;
		this.NodeEnd = NodeEnd;
	}
	
	public String getRodDisplacementAsString()
	{
		String str="";
		str += "ID:"+ RodID+"\t";
		str += "N.Start:"+ NodeStart+"\t";
		str += "N.End:"+ NodeEnd;
		return str;
		
	}

}
